class PropertyPattern < ActiveRecord::Base
  has_many :properties, :order => :position, :class_name => "PropertyPatternProperty"

  validates :presentation, :presence => true, :length => {:maximum => 35}

  accepts_nested_attributes_for :properties, :allow_destroy => true
end